// ECGBMPConv.h : main header file for the ECGBMPCONV DLL
//

#if !defined(AFX_ECGBMPCONV_H__05186E65_3F77_419C_8F7D_7E99B79D9418__INCLUDED_)
#define AFX_ECGBMPCONV_H__05186E65_3F77_419C_8F7D_7E99B79D9418__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CECGBMPConvApp
// See ECGBMPConv.cpp for the implementation of this class
//
#ifdef ECGBMP_EXPORT
#define ECGBMP_DECL_SPEC __declspec(dllexport)
#elif ECGBMP_IMPORT
#define ECGBMP_DECL_SPEC __declspec(dllimport)
#else
#define ECGBMP_DECL_SPEC
#endif

#define ECGBMP_FAILURE				-1
#define ECGBMP_SUCCESS				0
#define ECGBMP_INVALIDATEFILENAME	1
#define ECGBMP_READFILEFAILURE		2
#define ECGBMP_DRAWIMAGEFAILURE		3
#define ECGBMP_FILEEXISTED			4

//extern "C" ECGBMP_DECL_SPEC int ECGBMPConvert(char* lpECGFile, char* lpAnaInfo, char* lpLanguage);
//extern "C" ECGBMP_DECL_SPEC CString ECGBMPConvertRT(CString lpECGFile,  CString lpLanguage);
extern "C" int PASCAL EXPORT ECGBMPConvert(char* lpECGFile, char* lpAnaInfo, char* lpLanguage);
extern "C" int PASCAL EXPORT ECGJPGConvert(  char* lpECGFile, char* lpAnaInfo, char* lpLanguage, char * pDestFile=NULL);
//extern "C" CString PASCAL EXPORT ECGBMPConvertRT(CString lpECGFile,  CString lpLanguage);

extern "C" int PASCAL EXPORT   ECGBMPConvert_Temp(char* lpECGFile, char* lpAnaInfo, char* lpLanguage);


#endif // !defined(AFX_ECGBMPCONV_H__05186E65_3F77_419C_8F7D_7E99B79D9418__INCLUDED_)
